package com.hadwinling.blog.service;

import com.hadwinling.blog.entity.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author HadwinLing
 * @version V1.0
 * @Package com.hadwinling.blog.service
 * @date 2020/8/19 7:47
 */
public interface TagService {


    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer id);

    List<Tag> selectAllByState(Integer state);

    List<Tag> selectAllByTopAndState(Integer top, Integer state);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);

    int updateTopById(Integer updatedTop, Integer id);

    int updateTagnumById(Integer updatedTagnum,Integer id);

}




